
SECRET_KEY = '2343SDEWQERsHwer&^23cA'
# 设置数据库连接字符串
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://%s:%s@%s/%s?charset=UTF8MB4' % ('root', '123456', '121.43.40.44', 'selection_system')
# 不跟踪修改，不设置会有警告
SQLALCHEMY_TRACK_MODIFICATIONS = False
JSON_AS_ASCII = False

# JWT设置
# JWT access token 过期时间 (秒)
JWT_ACCESS_TOKEN_EXPIRES = 6000
# JWT refresh token过期时间 （秒）
JWT_REFRESH_TOKEN_EXPIRES = 2592000

# 上传文件路径
UPLOAD_PATH = 'upload'

# ak
BAIDU_AK = 'GmTygaQlgcrawNZMohQ8LM3z33RI9TY9'